//
//  PhotoCell.m
//  ECO
//
//  Created by zl on 2019/9/24.
//  Copyright © 2019 谷银行. All rights reserved.
//

#import "PhotoCell.h"

@implementation PhotoCell

- (UIImageView *)imgV{
    if (!_imgV) {
        _imgV = [[UIImageView alloc]initWithFrame:CGRectMakeCustom(15, 13, 62, 62)];
        _imgV.layer.cornerRadius = 31 * autoSizeScaleX;
        _imgV.layer.masksToBounds = YES;
    }
    return _imgV;
}
- (UILabel *)Name{
    if (!_Name) {
        _Name = [[UILabel alloc]initWithFrame:CGRectMakeCustom(91, 33, 320-100, 22)];
    }
    return _Name;
}
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    if (self == [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        [self.contentView addSubview:self.imgV];
        [self.contentView addSubview:self.Name];
    }
    return self;
}

@end
